package com.yuetong.business.domain;

import com.yuetong.common.annotation.Excel;
import com.yuetong.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 合作单位对象 yt_partner
 *
 * @author  卓晓君
 * @date 2025-03-20
 */
public class YtPartner extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键，自增，唯一标识每个合作单位 */
    private Long partnerId;

    /** 单位名称 */
    @Excel(name = "单位名称")
    private String unitName;

    /** 统一信用代码 */
    @Excel(name = "统一信用代码")
    private String creditCode;

    /** 开户行 */
    @Excel(name = "开户行")
    private String bankName;

    /** 账号 */
    @Excel(name = "账号")
    private String accountNumber;

    /** 税号 */
    @Excel(name = "税号")
    private String taxNumber;

    /** 联系人 */
    @Excel(name = "联系人")
    private String contactPerson;

    /** 电话 */
    @Excel(name = "电话")
    private String contactPhone;

    /** 排序字段 */
    @Excel(name = "排序字段")
    private Long sortOrder;

    /** 单位介绍 */
    @Excel(name = "单位介绍")
    private String unitDescription;

    /** 相册 */
    @Excel(name = "相册")
    private String albumImages;

    /** 是否公开 */
    @Excel(name = "是否公开")
    private String isPublic;

    /** 邮箱 */
    @Excel(name = "邮箱")
    private String mail;

    /** 删除标志（0代表存在 2代表删除） */
    private String delFlag;

    public void setPartnerId(Long partnerId)
    {
        this.partnerId = partnerId;
    }

    public Long getPartnerId()
    {
        return partnerId;
    }
    public void setUnitName(String unitName)
    {
        this.unitName = unitName;
    }

    public String getUnitName()
    {
        return unitName;
    }
    public void setCreditCode(String creditCode)
    {
        this.creditCode = creditCode;
    }

    public String getCreditCode()
    {
        return creditCode;
    }
    public void setBankName(String bankName)
    {
        this.bankName = bankName;
    }

    public String getBankName()
    {
        return bankName;
    }
    public void setAccountNumber(String accountNumber)
    {
        this.accountNumber = accountNumber;
    }

    public String getAccountNumber()
    {
        return accountNumber;
    }
    public void setTaxNumber(String taxNumber)
    {
        this.taxNumber = taxNumber;
    }

    public String getTaxNumber()
    {
        return taxNumber;
    }
    public void setContactPerson(String contactPerson)
    {
        this.contactPerson = contactPerson;
    }

    public String getContactPerson()
    {
        return contactPerson;
    }
    public void setContactPhone(String contactPhone)
    {
        this.contactPhone = contactPhone;
    }

    public String getContactPhone()
    {
        return contactPhone;
    }
    public void setSortOrder(Long sortOrder)
    {
        this.sortOrder = sortOrder;
    }

    public Long getSortOrder()
    {
        return sortOrder;
    }
    public void setDelFlag(String delFlag)
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag()
    {
        return delFlag;
    }

    public String getUnitDescription() {
        return unitDescription;
    }

    public void setUnitDescription(String unitDescription) {
        this.unitDescription = unitDescription;
    }

    public String getAlbumImages() {
        return albumImages;
    }

    public void setAlbumImages(String albumImages) {
        this.albumImages = albumImages;
    }

    public String getIsPublic() {
        return isPublic;
    }

    public void setIsPublic(String isPublic) {
        this.isPublic = isPublic;
    }

    public String getMail() {
        return mail;
    }

    public void setMail(String mail) {
        this.mail = mail;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("partnerId", getPartnerId())
            .append("unitName", getUnitName())
            .append("creditCode", getCreditCode())
            .append("bankName", getBankName())
            .append("accountNumber", getAccountNumber())
            .append("taxNumber", getTaxNumber())
            .append("contactPerson", getContactPerson())
            .append("contactPhone", getContactPhone())
            .append("sortOrder", getSortOrder())
            .append("unitDescription", getUnitDescription())
            .append("albumImages", getAlbumImages())
            .append("mail", getMail())
            .append("isPublic", getIsPublic())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .append("delFlag", getDelFlag())
            .toString();
    }
}
